package com.hskn.hss.module.videoplan.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 录像计划
 *
 * @author lny
 * @date 2021-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VideoPlan implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID", name = "ID")
    private String id;
    @ApiModelProperty(value = "设备编码", name = "equipcode")
    private String equipcode;
    @ApiModelProperty(value = "绑定对象名称", name = "")
    private String bindobjname;
    @ApiModelProperty(value = "通道号", name = "channel")
    private String channel;
    @ApiModelProperty(value = "录制开始时间", name = "recordTime", example = "2021-09-22 12:12:12")
    private Date recordTime;
    @ApiModelProperty(value = "录像开始时间", name = "videoStartTime", example = "12:12:12")
    private Date videoStartTime;
    @ApiModelProperty(value = "录像结束时间", name = "videoEndTime", example = "12:12:12")
    private Date videoEndTime;
    @ApiModelProperty(value = "录像时长", name = "")
    private String videoDuration;
    @ApiModelProperty(value = "录像计划状态：0不启用1启用2已删除", name = "status", example = "0")
    private String status;
    @ApiModelProperty(value = "创建人ID", name = "")
    private String createUserId;
    @ApiModelProperty(value = "创建时间", name = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "删除人ID", name = "")
    private String deleteUserId;
    @ApiModelProperty(value = "删除时间", name = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deleteTime;

    @ApiModelProperty(value = "录像文件状态：0录制未开始1录制中2录制完成3已失效", name = "")
    @TableField(exist = false)
    private String fileStatus;
    @ApiModelProperty(value = "录像文件ID", name = "")
    @TableField(exist = false)
    private String fileId;
}
